<include file="public:header" />
<div class="allpagetop">工具<strong>/</strong>URL路由<strong>/</strong>添加规则</div>
<div class="admin_main_nr_dbox">
 	    <div class="pagetit">
	        <div class="ptit">URL</div>
				<include file="Url/topnav" /> 
	        <div class="clear"></div>
	    </div>
		
		
    <div class="toptit">添加路由规则</div>
  <form action="{:RU('url/add')}" method="post"   name="FormData" id="FormData" >
	  <div class="admin_form_main">
	  
	    <div class="fl">调用名称:</div>
		<div class="fr"><input name="alias" type="text"  class="input_text_default" maxlength="60" placeholder="如：intro/view(alias)或u/view(uid)"/></div>
		<div class="fl">替换规则:</div>
		<div class="fr">
		<input name="locator" type="text"  class="input_text_default" maxlength="100" placeholder="如：intro/{alias}"/>
		</div>
		
		<div class="fl">TP路由规则:</div>
		<div class="fr">
		<input name="rule_key" type="text"  class="input_text_default" maxlength="100" placeholder="如：/^intro\/(\w+)$/"/>
		</div>
		 
<div class="fl">TP对应方法:</div>
		<div class="fr">
		<input name="rule_var" type="text"  class="input_text_default" maxlength="100" placeholder="如：intro/view?alias=:1"/>
		</div>
		
		
		 
		
		<div class="fl">是否可用:</div>
					  <div class="fr">
					  
					   <div class="imgchecked select"><input name="is_display" type="hidden" value="1" /></div>
					  </div>
		
		 <div class="fl"></div>
		<div class="fr">
		<input name="" type="submit" class="admin_submit "    value="保存"/>
		<input name=""  type="button" class="admin_submit "    value="返回" onclick="history.go(-1)"/>
		</div>
		
		
		
		<div class="clear"></div>
		
	  </div>
  
  
 
  
  
   
  </form>
</div>
<include file="public:footer" />
 
</body>
</html>